package com.sky.service;

import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.Category;
import com.sky.result.PageResult;

import java.util.List;

public interface CategoryService {
    void updateCategory(Category category);

    PageResult pageSelect(CategoryPageQueryDTO query);

    void updateStatusById(Long id);

    void insertCategory(Category category);

    void deleteById(Long id);

    List<Category> getType(Integer type);
}
